﻿public enum eOpType
{
    Create,
    Edit,
    Comment,
    Assign,
    Activate,
    Close,
    ResolveByFixed,
    ResolveByByDesign,
    ResolveByNotRepro,
    ResolveByNotFix,
}
public class JsMain
{
    public string title;
    public string token;
    public JsUser[] users;
    public JsProject[] projects;
}

public class JsUser
{
    public string id;
    public string name;
}

public class JsProject
{
    public string id;
    public string name;
    public string[] users;
}

public class JsBugs
{
    public int page;
    public int total;
    public JsBug[] bugs;
}

public class JsBug
{
    public string id;
    public string title;
    public string content;
    public byte priority;
    public byte state;
    public string creater;
    public string time;
    public string assignee;
    public string resolver;
}

public class JsHistorys
{
    public JsHistory[] historys;
}

public class JsHistory
{
    public string time;
    public string user;
    public byte type;
    public string assignee;
    public string comment_title;
}